<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">
<html><head>
	<title>CSS 2.1 Test Suite: handling of blocks inside inlines</title>
	<link href="mailto:bzbarsky@mit.edu" rel="author" title="Boris Zbarsky" />
	<link href="http://mozilla.com/" rel="author" title="Mozilla Corporation" />
	<link href="http://www.w3.org/TR/CSS21/visuren.html#anonymous-block-level" rel="help" />
	<link rel="match" href="append-to-empty-trailing-inline-1-ref.xht"/>
	<meta content="dom" name="flags" />
	<meta content="text/html; charset=UTF-8" http-equiv="Content-Type" />
	<meta content="text/css" http-equiv="Content-Style-Type" />
	<style type="text/css">

	body &gt; span { outline: 1px dotted black; }
	body &gt; span &gt; span { display: block; width: 10em; }

	</style>

<script>
function boom()
{
  var n = document.getElementById("a");
  n.parentNode.appendChild(n.cloneNode(true));
}
</script>

</head>
<body onload="boom();">

<span><span id="a">A</span></span>



</body></html>
